home *** CD-ROM | disk | FTP | other *** search
/ Eagles Nest BBS 8 / Eagles_Nest_Mac_Collection_Disc_8.TOAST / Developer Tools⁄Additions / Macsbug65d6 / MacsBug 6.5d6 / dcmds / C Samples / File.c < prev    next >
MacBinary  |  1994-02-17  |  6.3 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu Feb 17 11:30:40 1994, modified Thu Feb 17 11:30:40 1994, creator 'MPS ', type ASCII, 5788 bytes "File.c" , at 0x171c 336 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 46 69 6c 65 2e 63 | 00 00 00 00 00 00 00 00 |..File.c|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 16 9c 00 | 00 01 50 a9 89 4c 30 a9 |........|..P..L0.|
|00000060| 89 4c 30 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.L0.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 91 db 00 00 |........|........|
|00000080| 2f 2a 0d 09 46 69 6c 65 | 3a 09 09 46 69 6c 65 2e |/*..File|:..File.|
|00000090| 63 0d 0d 09 43 6f 6e 74 | 61 69 6e 73 3a 09 54 68 |c...Cont|ains:.Th|
|000000a0| 69 73 20 69 73 20 74 68 | 65 20 46 43 42 20 64 63 |is is th|e FCB dc|
|000000b0| 6d 64 2e 0d 0d 09 57 72 | 69 74 74 65 6e 20 62 79 |md....Wr|itten by|
|000000c0| 3a 09 53 63 6f 74 74 20 | 44 6f 75 67 6c 61 73 2c |:.Scott |Douglas,|
|000000d0| 20 44 61 76 65 20 4c 79 | 6f 6e 73 2e 0d 0d 09 43 | Dave Ly|ons....C|
|000000e0| 6f 70 79 72 69 67 68 74 | 3a 09 a9 20 31 39 38 38 |opyright|:.. 1988|
|000000f0| 2c 31 39 39 33 20 62 79 | 20 41 70 70 6c 65 20 43 |,1993 by| Apple C|
|00000100| 6f 6d 70 75 74 65 72 2c | 20 49 6e 63 2e 2c 20 61 |omputer,| Inc., a|
|00000110| 6c 6c 20 72 69 67 68 74 | 73 20 72 65 73 65 72 76 |ll right|s reserv|
|00000120| 65 64 2e 0d 0d 09 43 68 | 61 6e 67 65 20 48 69 73 |ed....Ch|ange His|
|00000130| 74 6f 72 79 20 28 6d 6f | 73 74 20 72 65 63 65 6e |tory (mo|st recen|
|00000140| 74 20 66 69 72 73 74 29 | 3a 0d 0d 09 09 20 3c 32 |t first)|:.... <2|
|00000150| 3e 09 20 39 2f 31 33 2f | 39 33 09 44 41 4c 09 09 |>. 9/13/|93.DAL..|
|00000160| 6d 61 64 65 20 73 6f 6d | 65 20 63 6f 6c 75 6d 6e |made som|e column|
|00000170| 73 20 77 69 64 65 72 20 | 61 6e 64 20 66 69 78 65 |s wider |and fixe|
|00000180| 64 20 74 68 65 20 66 69 | 6c 65 6e 61 6d 65 2d 70 |d the fi|lename-p|
|00000190| 72 65 66 69 78 20 66 65 | 61 74 75 72 65 20 74 6f |refix fe|ature to|
|000001a0| 0d 09 09 09 09 09 09 09 | 09 09 77 6f 72 6b 20 61 |........|..work a|
|000001b0| 67 61 69 6e 0d 0d 09 4d | 6f 64 69 66 69 63 61 74 |gain...M|odificat|
|000001c0| 69 6f 6e 20 68 69 73 74 | 6f 72 79 3a 0d 09 09 32 |ion hist|ory:...2|
|000001d0| 39 4e 6f 76 38 38 20 73 | 61 64 09 09 72 65 76 69 |9Nov88 s|ad..revi|
|000001e0| 73 65 64 20 66 6f 72 20 | 6e 65 77 20 64 63 6d 64 |sed for |new dcmd|
|000001f0| 20 6e 61 6d 65 73 2e 0d | 09 09 20 35 4f 63 74 38 | names..|.. 5Oct8|
|00000200| 38 09 73 61 64 09 09 62 | 72 6f 6b 65 20 6f 75 74 |8.sad..b|roke out|
|00000210| 20 66 6f 72 6d 61 74 74 | 69 6e 67 20 72 6f 75 74 | formatt|ing rout|
|00000220| 69 6e 65 73 20 74 6f 20 | 70 75 74 2e 63 0d 09 09 |ines to |put.c...|
|00000230| 33 30 53 65 70 38 38 20 | 73 61 64 09 09 77 72 69 |30Sep88 |sad..wri|
|00000240| 74 74 65 6e 0d 0d 09 54 | 68 65 20 66 6f 6c 6c 6f |tten...T|he follo|
|00000250| 77 69 6e 67 20 4d 50 57 | 20 63 6f 6d 6d 61 6e 64 |wing MPW| command|
|00000260| 73 20 77 69 6c 6c 20 62 | 75 69 6c 64 20 74 68 65 |s will b|uild the|
|00000270| 20 64 63 6d 64 20 61 6e | 64 20 63 6f 70 79 20 69 | dcmd an|d copy i|
|00000280| 74 20 74 6f 20 74 68 65 | 0d 09 22 44 65 62 75 67 |t to the|.."Debug|
|00000290| 67 65 72 20 50 72 65 66 | 73 22 20 66 69 6c 65 20 |ger Pref|s" file |
|000002a0| 69 6e 20 74 68 65 20 53 | 79 73 74 65 6d 20 66 6f |in the S|ystem fo|
|000002b0| 6c 64 65 72 2e 20 54 68 | 65 20 64 63 6d 64 27 73 |lder. Th|e dcmd's|
|000002c0| 20 6e 61 6d 65 20 69 6e | 0d 09 4d 61 63 73 42 75 | name in|..MacsBu|
|000002d0| 67 20 77 69 6c 6c 20 62 | 65 20 74 68 65 20 6e 61 |g will b|e the na|
|000002e0| 6d 65 20 6f 66 20 74 68 | 65 20 66 69 6c 65 20 62 |me of th|e file b|
|000002f0| 75 69 6c 74 20 62 79 20 | 74 68 65 20 4c 69 6e 6b |uilt by |the Link|
|00000300| 65 72 2e 0d 09 59 6f 75 | 20 6d 75 73 74 20 66 69 |er...You| must fi|
|00000310| 72 73 74 20 63 6f 70 79 | 20 64 63 6d 64 2e 68 2c |rst copy| dcmd.h,|
|00000320| 20 64 63 6d 64 47 6c 75 | 65 2e 61 2e 6f 20 61 6e | dcmdGlu|e.a.o an|
|00000330| 64 20 44 52 75 6e 54 69 | 6d 65 2e 6f 20 66 72 6f |d DRunTi|me.o fro|
|00000340| 6d 20 74 68 65 0d 09 43 | 20 53 61 6d 70 6c 65 73 |m the..C| Samples|
|00000350| 20 66 6f 6c 64 65 72 20 | 69 6e 74 6f 20 74 68 69 | folder |into thi|
|00000360| 73 20 66 6f 6c 64 65 72 | 2e 0d 0d 09 43 20 50 75 |s folder|....C Pu|
|00000370| 74 2e 63 0d 09 43 20 46 | 69 6c 65 2e 63 0d 09 4c |t.c..C F|ile.c..L|
|00000380| 69 6e 6b 20 64 63 6d 64 | 47 6c 75 65 2e 61 2e 6f |ink dcmd|Glue.a.o|
|00000390| 20 46 69 6c 65 2e 63 2e | 6f 20 70 75 74 2e 63 2e | File.c.|o put.c.|
|000003a0| 6f 20 44 52 75 6e 74 69 | 6d 65 2e 6f 20 22 7b 4c |o DRunti|me.o "{L|
|000003b0| 69 62 72 61 72 69 65 73 | 7d 22 49 6e 74 65 72 66 |ibraries|}"Interf|
|000003c0| 61 63 65 2e 6f 20 2d 6f | 20 46 69 6c 65 0d 09 42 |ace.o -o| File..B|
|000003d0| 75 69 6c 64 44 63 6d 64 | 20 46 69 6c 65 20 31 30 |uildDcmd| File 10|
|000003e0| 30 33 0d 09 45 63 68 6f | 20 27 69 6e 63 6c 75 64 |03..Echo| 'includ|
|000003f0| 65 20 22 46 69 6c 65 22 | 3b 27 09 7c 09 52 65 7a |e "File"|;'.|.Rez|
|00000400| 20 2d 61 20 2d 6f 20 22 | 7b 73 79 73 74 65 6d 46 | -a -o "|{systemF|
|00000410| 6f 6c 64 65 72 7d 44 65 | 62 75 67 67 65 72 20 50 |older}De|bugger P|
|00000420| 72 65 66 73 22 0d 2a 2f | 0d 0d 23 69 6e 63 6c 75 |refs".*/|..#inclu|
|00000430| 64 65 20 3c 54 79 70 65 | 73 2e 68 3e 0d 23 69 6e |de <Type|s.h>.#in|
|00000440| 63 6c 75 64 65 20 3c 4d | 65 6d 6f 72 79 2e 68 3e |clude <M|emory.h>|
|00000450| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 46 69 6c 65 73 |.#includ|e <Files|
|00000460| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 4f 53 |.h>.#inc|lude <OS|
|00000470| 55 74 69 6c 73 2e 68 3e | 0d 0d 23 69 6e 63 6c 75 |Utils.h>|..#inclu|
|00000480| 64 65 20 22 64 63 6d 64 | 2e 68 22 0d 23 69 6e 63 |de "dcmd|.h".#inc|
|00000490| 6c 75 64 65 20 22 70 75 | 74 2e 68 22 0d 0d 23 64 |lude "pu|t.h"..#d|
|000004a0| 65 66 69 6e 65 20 46 53 | 46 43 42 4c 65 6e 20 30 |efine FS|FCBLen 0|
|000004b0| 78 33 66 36 0d 23 64 65 | 66 69 6e 65 20 46 43 42 |x3f6.#de|fine FCB|
|000004c0| 73 50 74 72 20 30 78 33 | 34 65 0d 0d 74 79 70 65 |sPtr 0x3|4e..type|
|000004d0| 64 65 66 20 73 74 72 75 | 63 74 20 46 43 42 0d 7b |def stru|ct FCB.{|
|000004e0| 0d 09 75 6e 73 69 67 6e | 65 64 20 6c 6f 6e 67 20 |..unsign|ed long |
|000004f0| 66 63 62 46 6c 4e 75 6d | 3b 0d 09 75 6e 73 69 67 |fcbFlNum|;..unsig|
|00000500| 6e 65 64 20 63 68 61 72 | 20 66 63 62 4d 64 52 42 |ned char| fcbMdRB|
|00000510| 79 74 3b 0d 09 75 6e 73 | 69 67 6e 65 64 20 63 68 |yt;..uns|igned ch|
|00000520| 61 72 20 66 63 62 54 79 | 70 42 79 74 3b 0d 09 75 |ar fcbTy|pByt;..u|
|00000530| 6e 73 69 67 6e 65 64 20 | 73 68 6f 72 74 20 66 63 |nsigned |short fc|
|00000540| 62 53 42 6c 6b 3b 0d 09 | 75 6e 73 69 67 6e 65 64 |bSBlk;..|unsigned|
|00000550| 20 6c 6f 6e 67 20 66 63 | 62 45 4f 46 3b 0d 09 75 | long fc|bEOF;..u|
|00000560| 6e 73 69 67 6e 65 64 20 | 6c 6f 6e 67 20 66 63 62 |nsigned |long fcb|
|00000570| 50 4c 65 6e 3b 0d 09 75 | 6e 73 69 67 6e 65 64 20 |PLen;..u|nsigned |
|00000580| 6c 6f 6e 67 20 66 63 62 | 43 72 50 73 3b 0d 09 56 |long fcb|CrPs;..V|
|00000590| 43 42 2a 20 66 63 62 56 | 50 74 72 3b 0d 09 76 6f |CB* fcbV|Ptr;..vo|
|000005a0| 69 64 2a 20 66 63 62 42 | 66 41 64 72 3b 0d 09 75 |id* fcbB|fAdr;..u|
|000005b0| 6e 73 69 67 6e 65 64 20 | 73 68 6f 72 74 20 66 63 |nsigned |short fc|
|000005c0| 62 46 6c 50 6f 73 3b 0d | 09 75 6e 73 69 67 6e 65 |bFlPos;.|.unsigne|
|000005d0| 64 20 6c 6f 6e 67 20 66 | 63 62 43 6c 6d 70 53 69 |d long f|cbClmpSi|
|000005e0| 7a 65 3b 0d 09 76 6f 69 | 64 2a 20 66 63 62 42 54 |ze;..voi|d* fcbBT|
|000005f0| 43 42 50 74 72 3b 0d 09 | 75 6e 73 69 67 6e 65 64 |CBPtr;..|unsigned|
|00000600| 20 6c 6f 6e 67 20 66 63 | 62 45 78 74 52 65 63 5b | long fc|bExtRec[|
|00000610| 33 5d 3b 0d 09 4f 53 54 | 79 70 65 20 66 63 62 46 |3];..OST|ype fcbF|
|00000620| 54 79 70 65 3b 0d 09 75 | 6e 73 69 67 6e 65 64 20 |Type;..u|nsigned |
|00000630| 6c 6f 6e 67 20 66 63 62 | 43 61 74 50 6f 73 3b 0d |long fcb|CatPos;.|
|00000640| 09 75 6e 73 69 67 6e 65 | 64 20 6c 6f 6e 67 20 66 |.unsigne|d long f|
|00000650| 63 62 44 69 72 49 44 3b | 0d 09 63 68 61 72 20 66 |cbDirID;|..char f|
|00000660| 63 62 43 4e 61 6d 65 5b | 33 32 5d 3b 0d 7d 20 46 |cbCName[|32];.} F|
|00000670| 43 42 3b 0d 0d 0d 73 74 | 61 74 69 63 20 76 6f 69 |CB;...st|atic voi|
|00000680| 64 20 44 72 61 77 48 64 | 72 28 29 0d 7b 0d 2f 2f |d DrawHd|r().{.//|
|00000690| 09 09 09 09 09 20 20 20 | 20 20 20 20 20 20 31 20 |..... | 1 |
|000006a0| 20 20 20 20 20 20 20 20 | 32 20 20 20 20 20 20 20 | |2 |
|000006b0| 20 20 33 20 20 20 20 20 | 20 20 20 20 34 20 20 20 | 3 | 4 |
|000006c0| 20 20 20 20 20 20 35 20 | 20 20 20 20 20 20 20 20 | 5 | |
|000006d0| 36 20 20 20 20 20 20 20 | 20 20 37 0d 2f 2f 09 09 |6 | 7.//..|
|000006e0| 09 09 09 31 32 33 34 35 | 36 37 38 39 30 31 32 33 |...12345|67890123|
|000006f0| 34 35 36 37 38 39 30 31 | 32 33 34 35 36 37 38 39 |45678901|23456789|
|00000700| 30 31 32 33 34 35 36 37 | 38 39 30 31 32 33 34 35 |01234567|89012345|
|00000710| 36 37 38 39 30 31 32 33 | 34 35 36 37 38 39 30 31 |67890123|45678901|
|00000720| 32 33 34 35 36 37 38 39 | 30 0d 09 64 63 6d 64 44 |23456789|0..dcmdD|
|00000730| 72 61 77 4c 69 6e 65 28 | 22 5c 70 66 52 65 66 20 |rawLine(|"\pfRef |
|00000740| 46 69 6c 65 20 20 20 20 | 20 20 20 20 20 20 20 20 |File | |
|00000750| 20 20 20 20 20 20 20 56 | 6f 6c 20 20 20 20 20 20 | V|ol |
|00000760| 20 20 20 54 79 70 65 20 | 46 6c 20 46 6f 72 6b 20 | Type |Fl Fork |
|00000770| 20 20 20 20 4c 45 6f 66 | 20 20 20 20 20 4d 61 72 | LEof| Mar|
|00000780| 6b 20 20 46 6c 4e 75 6d | 20 50 61 72 65 6e 74 20 |k FlNum| Parent |
|00000790| 46 43 42 20 61 74 22 29 | 3b 0d 7d 0d 0d 0d 73 74 |FCB at")|;.}...st|
|000007a0| 61 74 69 63 20 76 6f 69 | 64 20 44 72 61 77 46 43 |atic voi|d DrawFC|
|000007b0| 42 28 69 6e 74 20 66 72 | 65 66 2c 20 46 43 42 2a |B(int fr|ef, FCB*|
|000007c0| 20 66 63 62 70 29 0d 7b | 0d 09 50 75 74 55 48 65 | fcbp).{|..PutUHe|
|000007d0| 78 57 6f 72 64 28 66 72 | 65 66 29 3b 0d 09 50 75 |xWord(fr|ef);..Pu|
|000007e0| 74 53 70 61 63 65 28 29 | 3b 0d 09 50 75 74 50 53 |tSpace()|;..PutPS|
|000007f0| 74 72 54 72 75 6e 63 54 | 6f 28 66 63 62 70 2d 3e |trTruncT|o(fcbp->|
|00000800| 66 63 62 43 4e 61 6d 65 | 2c 31 37 2b 31 30 29 3b |fcbCName|,17+10);|
|00000810| 0d 09 50 75 74 53 70 61 | 63 65 28 29 3b 0d 09 50 |..PutSpa|ce();..P|
|00000820| 75 74 50 53 74 72 54 72 | 75 6e 63 54 6f 28 66 63 |utPStrTr|uncTo(fc|
|00000830| 62 70 2d 3e 66 63 62 56 | 50 74 72 2d 3e 76 63 62 |bp->fcbV|Ptr->vcb|
|00000840| 56 4e 2c 32 36 2b 31 30 | 2b 33 29 3b 0d 09 50 75 |VN,26+10|+3);..Pu|
|00000850| 74 53 70 61 63 65 28 29 | 3b 0d 09 50 75 74 4f 53 |tSpace()|;..PutOS|
|00000860| 54 79 70 65 28 66 63 62 | 70 2d 3e 66 63 62 46 54 |Type(fcb|p->fcbFT|
|00000870| 79 70 65 29 3b 0d 09 50 | 75 74 53 70 61 63 65 28 |ype);..P|utSpace(|
|00000880| 29 3b 0d 09 50 75 74 43 | 68 61 72 28 28 66 63 62 |);..PutC|har((fcb|
|00000890| 70 2d 3e 66 63 62 4d 64 | 52 42 79 74 20 26 20 30 |p->fcbMd|RByt & 0|
|000008a0| 78 38 30 29 20 3f 20 27 | 44 27 20 3a 20 27 64 27 |x80) ? '|D' : 'd'|
|000008b0| 29 3b 0d 09 50 75 74 43 | 68 61 72 28 28 66 63 62 |);..PutC|har((fcb|
|000008c0| 70 2d 3e 66 63 62 4d 64 | 52 42 79 74 20 26 20 30 |p->fcbMd|RByt & 0|
|000008d0| 78 30 31 29 20 3f 20 27 | 57 27 20 3a 20 27 77 27 |x01) ? '|W' : 'w'|
|000008e0| 29 3b 0d 09 50 75 74 53 | 70 61 63 65 28 29 3b 0d |);..PutS|pace();.|
|000008f0| 09 69 66 20 28 66 63 62 | 70 2d 3e 66 63 62 4d 64 |.if (fcb|p->fcbMd|
|00000900| 52 42 79 74 20 26 20 30 | 78 30 32 29 0d 09 09 50 |RByt & 0|x02)...P|
|00000910| 75 74 50 53 74 72 28 22 | 5c 70 72 73 72 63 20 22 |utPStr("|\prsrc "|
|00000920| 29 3b 0d 09 65 6c 73 65 | 0d 09 09 50 75 74 50 53 |);..else|...PutPS|
|00000930| 74 72 28 22 5c 70 64 61 | 74 61 20 22 29 3b 0d 09 |tr("\pda|ta ");..|
|00000940| 50 75 74 55 44 65 63 54 | 6f 28 66 63 62 70 2d 3e |PutUDecT|o(fcbp->|
|00000950| 66 63 62 45 4f 46 2c 34 | 37 2b 31 31 2b 33 29 3b |fcbEOF,4|7+11+3);|
|00000960| 0d 09 50 75 74 53 70 61 | 63 65 28 29 3b 0d 09 50 |..PutSpa|ce();..P|
|00000970| 75 74 55 44 65 63 54 6f | 28 66 63 62 70 2d 3e 66 |utUDecTo|(fcbp->f|
|00000980| 63 62 43 72 50 73 2c 35 | 35 2b 31 32 2b 33 29 3b |cbCrPs,5|5+12+3);|
|00000990| 0d 09 50 75 74 53 70 61 | 63 65 28 29 3b 0d 09 50 |..PutSpa|ce();..P|
|000009a0| 75 74 55 48 65 78 5a 54 | 6f 28 66 63 62 70 2d 3e |utUHexZT|o(fcbp->|
|000009b0| 66 63 62 46 6c 4e 75 6d | 2c 36 2c 36 32 2b 31 32 |fcbFlNum|,6,62+12|
|000009c0| 2b 33 29 3b 0d 09 50 75 | 74 53 70 61 63 65 28 29 |+3);..Pu|tSpace()|
|000009d0| 3b 0d 09 50 75 74 55 48 | 65 78 5a 54 6f 28 66 63 |;..PutUH|exZTo(fc|
|000009e0| 62 70 2d 3e 66 63 62 44 | 69 72 49 44 2c 36 2c 36 |bp->fcbD|irID,6,6|
|000009f0| 39 2b 31 32 2b 33 29 3b | 0d 09 50 75 74 53 70 61 |9+12+3);|..PutSpa|
|00000a00| 63 65 28 29 3b 0d 09 50 | 75 74 55 48 65 78 5a 54 |ce();..P|utUHexZT|
|00000a10| 6f 28 28 75 6e 73 69 67 | 6e 65 64 20 6c 6f 6e 67 |o((unsig|ned long|
|00000a20| 29 66 63 62 70 2c 36 2c | 37 36 2b 31 32 2b 33 29 |)fcbp,6,|76+12+3)|
|00000a30| 3b 0d 09 50 75 74 4c 69 | 6e 65 28 29 3b 0d 7d 0d |;..PutLi|ne();.}.|
|00000a40| 0d 0d 73 74 61 74 69 63 | 20 42 6f 6f 6c 65 61 6e |..static| Boolean|
|00000a50| 20 50 72 65 66 69 78 50 | 53 74 72 28 63 6f 6e 73 | PrefixP|Str(cons|
|00000a60| 74 20 53 74 72 32 35 35 | 20 61 73 74 72 2c 20 63 |t Str255| astr, c|
|00000a70| 6f 6e 73 74 20 53 74 72 | 32 35 35 20 62 73 74 72 |onst Str|255 bstr|
|00000a80| 29 0d 2f 2f 20 72 65 74 | 75 72 6e 73 20 74 72 75 |).// ret|urns tru|
|00000a90| 65 20 69 66 20 61 73 74 | 72 20 69 73 20 65 71 75 |e if ast|r is equ|
|00000aa0| 61 6c 20 74 6f 20 61 20 | 70 72 65 66 69 78 20 6f |al to a |prefix o|
|00000ab0| 66 20 62 73 74 72 0d 2f | 2f 09 61 73 74 72 20 6d |f bstr./|/.astr m|
|00000ac0| 75 73 74 20 6e 6f 74 20 | 62 65 20 6c 6f 6e 67 65 |ust not |be longe|
|00000ad0| 72 20 74 68 61 6e 20 33 | 31 20 63 68 61 72 61 63 |r than 3|1 charac|
|00000ae0| 74 65 72 73 0d 7b 0d 09 | 63 68 61 72 20 6e 65 77 |ters.{..|char new|
|00000af0| 73 74 72 5b 33 31 5d 3b | 0d 09 69 6e 74 20 61 6c |str[31];|..int al|
|00000b00| 65 6e 20 3d 20 2a 61 73 | 74 72 3b 0d 09 69 6e 74 |en = *as|tr;..int|
|00000b10| 20 62 6c 65 6e 20 3d 20 | 2a 62 73 74 72 3b 0d 09 | blen = |*bstr;..|
|00000b20| 69 66 20 28 61 6c 65 6e | 20 3c 3d 20 62 6c 65 6e |if (alen| <= blen|
|00000b30| 29 0d 09 20 20 7b 0d 09 | 09 42 6c 6f 63 6b 4d 6f |).. {..|.BlockMo|
|00000b40| 76 65 28 62 73 74 72 2b | 31 2c 6e 65 77 73 74 72 |ve(bstr+|1,newstr|
|00000b50| 2b 31 2c 61 6c 65 6e 29 | 3b 0d 09 09 6e 65 77 73 |+1,alen)|;...news|
|00000b60| 74 72 5b 30 5d 20 3d 20 | 61 6c 65 6e 3b 0d 09 09 |tr[0] = |alen;...|
|00000b70| 72 65 74 75 72 6e 20 45 | 71 75 61 6c 53 74 72 69 |return E|qualStri|
|00000b80| 6e 67 28 61 73 74 72 2c | 6e 65 77 73 74 72 2c 66 |ng(astr,|newstr,f|
|00000b90| 61 6c 73 65 2c 74 72 75 | 65 29 3b 0d 09 20 20 7d |alse,tru|e);.. }|
|00000ba0| 0d 09 65 6c 73 65 0d 09 | 09 72 65 74 75 72 6e 20 |..else..|.return |
|00000bb0| 66 61 6c 73 65 3b 09 0d | 7d 0d 0d 0d 0d 70 61 73 |false;..|}....pas|
|00000bc0| 63 61 6c 20 76 6f 69 64 | 20 43 6f 6d 6d 61 6e 64 |cal void| Command|
|00000bd0| 45 6e 74 72 79 28 64 63 | 6d 64 42 6c 6f 63 6b 2a |Entry(dc|mdBlock*|
|00000be0| 20 70 61 72 61 6d 50 74 | 72 29 0d 7b 0d 09 73 77 | paramPt|r).{..sw|
|00000bf0| 69 74 63 68 20 28 70 61 | 72 61 6d 50 74 72 2d 3e |itch (pa|ramPtr->|
|00000c00| 72 65 71 75 65 73 74 29 | 0d 09 20 20 7b 0d 09 09 |request)|.. {...|
|00000c10| 63 61 73 65 20 64 63 6d | 64 49 6e 69 74 3a 0d 09 |case dcm|dInit:..|
|00000c20| 09 09 62 72 65 61 6b 3b | 0d 0d 09 09 63 61 73 65 |..break;|....case|
|00000c30| 20 64 63 6d 64 48 65 6c | 70 3a 0d 09 09 09 64 63 | dcmdHel|p:....dc|
|00000c40| 6d 64 44 72 61 77 4c 69 | 6e 65 28 22 5c 70 66 69 |mdDrawLi|ne("\pfi|
|00000c50| 6c 65 20 5b 66 52 65 66 | 4e 75 6d 7c 5c 22 66 69 |le [fRef|Num|\"fi|
|00000c60| 6c 65 20 6e 61 6d 65 5c | 22 5d 22 29 3b 0d 09 09 |le name\|"]");...|
|00000c70| 09 64 63 6d 64 44 72 61 | 77 4c 69 6e 65 28 22 5c |.dcmdDra|wLine("\|
|00000c80| 70 20 20 20 44 69 73 70 | 6c 61 79 73 20 66 69 6c |p Disp|lays fil|
|00000c90| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 6f 6e |e inform|ation on|
|00000ca0| 20 61 6c 6c 20 6f 70 65 | 6e 20 66 69 6c 65 73 2c | all ope|n files,|
|00000cb0| 20 6f 72 20 66 6f 72 20 | 74 68 65 20 67 69 76 65 | or for |the give|
|00000cc0| 6e 20 66 52 65 66 4e 75 | 6d 20 6f 72 20 66 69 6c |n fRefNu|m or fil|
|00000cd0| 65 6e 61 6d 65 2e 22 29 | 3b 0d 09 09 09 64 63 6d |ename.")|;....dcm|
|00000ce0| 64 44 72 61 77 4c 69 6e | 65 28 22 5c 70 20 20 20 |dDrawLin|e("\p |
|00000cf0| 20 20 20 46 6c 61 67 73 | 20 61 72 65 20 44 2f 64 | Flags| are D/d|
|00000d00| 3d 44 69 72 74 79 2c 20 | 57 2f 77 3d 77 72 69 74 |=Dirty, |W/w=writ|
|00000d10| 65 61 62 6c 65 2e 22 29 | 3b 0d 09 09 09 62 72 65 |eable.")|;....bre|
|00000d20| 61 6b 3b 0d 0d 09 09 63 | 61 73 65 20 64 63 6d 64 |ak;....c|ase dcmd|
|00000d30| 44 6f 49 74 3a 0d 09 09 | 20 20 7b 0d 09 09 09 42 |DoIt:...| {....B|
|00000d40| 6f 6f 6c 65 61 6e 20 64 | 6f 4f 6e 65 46 43 42 20 |oolean d|oOneFCB |
|00000d50| 3d 20 66 61 6c 73 65 3b | 0d 09 09 09 6c 6f 6e 67 |= false;|....long|
|00000d60| 20 66 72 65 66 3b 0d 09 | 09 09 73 68 6f 72 74 20 | fref;..|..short |
|00000d70| 63 3b 0d 09 09 09 42 6f | 6f 6c 65 61 6e 20 68 61 |c;....Bo|olean ha|
|00000d80| 76 65 46 69 6c 65 4e 61 | 6d 65 20 3d 20 66 61 6c |veFileNa|me = fal|
|00000d90| 73 65 3b 0d 09 09 09 53 | 74 72 32 35 35 20 66 69 |se;....S|tr255 fi|
|00000da0| 6c 65 6e 61 6d 65 3b 0d | 09 09 09 69 6e 74 20 66 |lename;.|...int f|
|00000db0| 63 62 6c 65 6e 3b 09 09 | 09 09 2f 2f 20 74 68 65 |cblen;..|..// the|
|00000dc0| 20 6c 65 6e 67 74 68 20 | 6f 66 20 6f 6e 65 20 66 | length |of one f|
|00000dd0| 63 62 0d 09 09 09 63 68 | 61 72 2a 20 66 63 62 73 |cb....ch|ar* fcbs|
|00000de0| 62 61 73 65 3b 0d 09 09 | 09 69 6e 74 20 66 63 62 |base;...|.int fcb|
|00000df0| 73 6c 65 6e 3b 09 09 09 | 2f 2f 20 74 68 65 20 6c |slen;...|// the l|
|00000e00| 65 6e 67 74 68 20 6f 66 | 20 74 68 65 20 66 63 62 |ength of| the fcb|
|00000e10| 73 20 62 6c 6f 63 6b 0d | 0d 09 09 09 64 63 6d 64 |s block.|....dcmd|
|00000e20| 53 77 61 70 57 6f 72 6c | 64 73 28 29 3b 0d 0d 09 |SwapWorl|ds();...|
|00000e30| 09 09 64 63 6d 64 44 72 | 61 77 4c 69 6e 65 28 22 |..dcmdDr|awLine("|
|00000e40| 5c 70 44 69 73 70 6c 61 | 79 69 6e 67 20 46 69 6c |\pDispla|ying Fil|
|00000e50| 65 20 43 6f 6e 74 72 6f | 6c 20 42 6c 6f 63 6b 73 |e Contro|l Blocks|
|00000e60| 22 29 3b 0d 0d 09 09 09 | 2f 2f 20 67 65 74 20 6c |");.....|// get l|
|00000e70| 6f 77 2d 6d 65 6d 6f 72 | 79 20 76 61 6c 75 65 73 |ow-memor|y values|
|00000e80| 20 61 66 74 65 72 20 64 | 63 6d 64 53 77 61 70 57 | after d|cmdSwapW|
|00000e90| 6f 72 6c 64 73 28 29 0d | 09 09 09 66 63 62 6c 65 |orlds().|...fcble|
|00000ea0| 6e 20 3d 20 2a 28 75 6e | 73 69 67 6e 65 64 20 73 |n = *(un|signed s|
|00000eb0| 68 6f 72 74 2a 29 46 53 | 46 43 42 4c 65 6e 3b 0d |hort*)FS|FCBLen;.|
|00000ec0| 09 09 09 66 63 62 73 62 | 61 73 65 20 3d 20 2a 28 |...fcbsb|ase = *(|
|00000ed0| 63 68 61 72 2a 2a 29 46 | 43 42 73 50 74 72 3b 0d |char**)F|CBsPtr;.|
|00000ee0| 09 09 09 66 63 62 73 6c | 65 6e 20 3d 20 2a 28 75 |...fcbsl|en = *(u|
|00000ef0| 6e 73 69 67 6e 65 64 20 | 73 68 6f 72 74 2a 29 66 |nsigned |short*)f|
|00000f00| 63 62 73 62 61 73 65 3b | 0d 0d 09 09 09 69 66 20 |cbsbase;|.....if |
|00000f10| 28 66 63 62 6c 65 6e 20 | 21 3d 20 73 69 7a 65 6f |(fcblen |!= sizeo|
|00000f20| 66 28 46 43 42 29 29 0d | 09 09 09 20 20 7b 0d 09 |f(FCB)).|... {..|
|00000f30| 09 09 09 50 75 74 50 53 | 74 72 28 22 5c 46 53 46 |...PutPS|tr("\FSF|
|00000f40| 43 42 4c 65 6e 20 3d 20 | 22 29 3b 0d 09 09 09 09 |CBLen = |");.....|
|00000f50| 50 75 74 55 44 65 63 28 | 66 63 62 6c 65 6e 29 3b |PutUDec(|fcblen);|
|00000f60| 0d 09 09 09 09 50 75 74 | 50 53 74 72 28 22 5c 70 |.....Put|PStr("\p|
|00000f70| 20 65 78 70 65 63 74 65 | 64 20 22 29 3b 0d 09 09 | expecte|d ");...|
|00000f80| 09 09 50 75 74 55 44 65 | 63 28 66 63 62 6c 65 6e |..PutUDe|c(fcblen|
|00000f90| 29 3b 0d 09 09 09 09 50 | 75 74 4c 69 6e 65 28 73 |);.....P|utLine(s|
|00000fa0| 69 7a 65 6f 66 28 46 43 | 42 29 29 3b 0d 09 09 09 |izeof(FC|B));....|
|00000fb0| 20 20 7d 0d 09 09 09 69 | 66 20 28 28 66 63 62 73 | }....i|f ((fcbs|
|00000fc0| 6c 65 6e 20 2d 20 32 29 | 20 25 20 66 63 62 6c 65 |len - 2)| % fcble|
|00000fd0| 6e 20 21 3d 20 30 29 0d | 09 09 09 20 20 7b 0d 09 |n != 0).|... {..|
|00000fe0| 09 09 09 50 75 74 50 53 | 74 72 28 22 5c 70 42 61 |...PutPS|tr("\pBa|
|00000ff0| 64 20 66 63 62 73 6c 65 | 6e 20 22 29 3b 0d 09 09 |d fcbsle|n ");...|
|00001000| 09 09 50 75 74 55 48 65 | 78 57 6f 72 64 28 66 63 |..PutUHe|xWord(fc|
|00001010| 62 73 6c 65 6e 29 3b 0d | 09 09 09 09 50 75 74 4c |bslen);.|....PutL|
|00001020| 69 6e 65 28 29 3b 0d 09 | 09 09 20 20 7d 0d 0d 09 |ine();..|.. }...|
|00001030| 09 09 63 20 3d 20 64 63 | 6d 64 50 65 65 6b 41 74 |..c = dc|mdPeekAt|
|00001040| 4e 65 78 74 43 68 61 72 | 28 29 3b 0d 09 09 09 69 |NextChar|();....i|
|00001050| 66 20 28 63 20 3d 3d 20 | 27 22 27 20 7c 7c 20 63 |f (c == |'"' || c|
|00001060| 20 3d 3d 20 27 5c 27 27 | 29 0d 09 09 09 20 20 7b | == '\''|).... {|
|00001070| 0d 09 09 09 09 68 61 76 | 65 46 69 6c 65 4e 61 6d |.....hav|eFileNam|
|00001080| 65 20 3d 20 74 72 75 65 | 3b 0d 09 09 09 09 28 76 |e = true|;.....(v|
|00001090| 6f 69 64 29 64 63 6d 64 | 47 65 74 4e 65 78 74 50 |oid)dcmd|GetNextP|
|000010a0| 61 72 61 6d 65 74 65 72 | 28 66 69 6c 65 6e 61 6d |arameter|(filenam|
|000010b0| 65 29 3b 0d 09 09 09 20 | 20 7d 0d 09 09 09 65 6c |e);.... | }....el|
|000010c0| 73 65 0d 09 09 09 09 28 | 76 6f 69 64 29 20 64 63 |se.....(|void) dc|
|000010d0| 6d 64 47 65 74 4e 65 78 | 74 45 78 70 72 65 73 73 |mdGetNex|tExpress|
|000010e0| 69 6f 6e 28 26 66 72 65 | 66 2c 20 26 64 6f 4f 6e |ion(&fre|f, &doOn|
|000010f0| 65 46 43 42 29 3b 0d 0d | 09 09 09 69 66 20 28 64 |eFCB);..|...if (d|
|00001100| 6f 4f 6e 65 46 43 42 29 | 0d 09 09 09 20 20 7b 0d |oOneFCB)|.... {.|
|00001110| 09 09 09 09 66 72 65 66 | 20 3d 20 28 75 6e 73 69 |....fref| = (unsi|
|00001120| 67 6e 65 64 20 73 68 6f | 72 74 29 66 72 65 66 3b |gned sho|rt)fref;|
|00001130| 0d 09 09 09 09 69 66 20 | 28 28 66 72 65 66 20 3e |.....if |((fref >|
|00001140| 20 66 63 62 73 6c 65 6e | 29 20 7c 7c 20 28 28 66 | fcbslen|) || ((f|
|00001150| 72 65 66 20 2d 20 32 29 | 20 25 20 66 63 62 6c 65 |ref - 2)| % fcble|
|00001160| 6e 20 21 3d 20 30 29 29 | 0d 09 09 09 09 20 20 7b |n != 0))|..... {|
|00001170| 0d 09 09 09 09 09 50 75 | 74 50 53 74 72 28 22 5c |......Pu|tPStr("\|
|00001180| 70 42 61 64 20 66 69 6c | 65 20 72 65 66 6e 75 6d |pBad fil|e refnum|
|00001190| 20 22 29 3b 0d 09 09 09 | 09 09 50 75 74 55 48 65 | ");....|..PutUHe|
|000011a0| 78 57 6f 72 64 28 66 72 | 65 66 29 3b 0d 09 09 09 |xWord(fr|ef);....|
|000011b0| 09 09 50 75 74 4c 69 6e | 65 28 29 3b 0d 09 09 09 |..PutLin|e();....|
|000011c0| 09 20 20 7d 0d 09 09 09 | 09 65 6c 73 65 0d 09 09 |. }....|.else...|
|000011d0| 09 09 20 20 7b 0d 09 09 | 09 09 09 46 43 42 2a 20 |.. {...|...FCB* |
|000011e0| 66 63 62 70 20 3d 20 28 | 46 43 42 2a 29 28 66 72 |fcbp = (|FCB*)(fr|
|000011f0| 65 66 20 2b 20 66 63 62 | 73 62 61 73 65 29 3b 0d |ef + fcb|sbase);.|
|00001200| 09 09 09 09 09 69 66 20 | 28 66 63 62 70 2d 3e 66 |.....if |(fcbp->f|
|00001210| 63 62 46 6c 4e 75 6d 29 | 0d 09 09 09 09 09 20 20 |cbFlNum)|...... |
|00001220| 7b 0d 09 09 09 09 09 09 | 44 72 61 77 48 64 72 28 |{.......|DrawHdr(|
|00001230| 29 3b 0d 09 09 09 09 09 | 09 44 72 61 77 46 43 42 |);......|.DrawFCB|
|00001240| 28 66 72 65 66 2c 66 63 | 62 70 29 3b 0d 09 09 09 |(fref,fc|bp);....|
|00001250| 09 09 20 20 7d 0d 09 09 | 09 09 09 65 6c 73 65 0d |.. }...|...else.|
|00001260| 09 09 09 09 09 20 20 7b | 0d 09 09 09 09 09 09 50 |..... {|.......P|
|00001270| 75 74 50 53 74 72 28 22 | 5c 70 46 43 42 20 22 29 |utPStr("|\pFCB ")|
|00001280| 3b 0d 09 09 09 09 09 09 | 50 75 74 55 48 65 78 57 |;.......|PutUHexW|
|00001290| 6f 72 64 28 66 72 65 66 | 29 3b 0d 09 09 09 09 09 |ord(fref|);......|
|000012a0| 09 50 75 74 50 53 74 72 | 28 22 5c 70 20 69 73 20 |.PutPStr|("\p is |
|000012b0| 6e 6f 74 20 69 6e 20 75 | 73 65 22 29 3b 0d 09 09 |not in u|se");...|
|000012c0| 09 09 09 09 50 75 74 4c | 69 6e 65 28 29 3b 0d 09 |....PutL|ine();..|
|000012d0| 09 09 09 09 20 20 7d 0d | 09 09 09 09 20 20 7d 0d |.... }.|.... }.|
|000012e0| 09 09 09 20 20 7d 0d 09 | 09 09 65 6c 73 65 0d 09 |... }..|..else..|
|000012f0| 09 09 20 20 7b 0d 09 09 | 09 09 69 6e 74 20 6e 75 |.. {...|..int nu|
|00001300| 6d 66 63 62 73 20 3d 20 | 28 66 63 62 73 6c 65 6e |mfcbs = |(fcbslen|
|00001310| 20 2d 20 32 29 20 2f 20 | 66 63 62 6c 65 6e 3b 0d | - 2) / |fcblen;.|
|00001320| 09 09 09 09 69 6e 74 20 | 66 63 62 73 75 73 65 64 |....int |fcbsused|
|00001330| 20 3d 20 30 3b 0d 09 09 | 09 09 42 6f 6f 6c 65 61 | = 0;...|..Boolea|
|00001340| 6e 20 66 6f 75 6e 64 4f | 6e 65 20 3d 20 66 61 6c |n foundO|ne = fal|
|00001350| 73 65 3b 0d 09 09 09 09 | 66 6f 72 20 28 66 72 65 |se;.....|for (fre|
|00001360| 66 20 3d 20 32 3b 20 66 | 72 65 66 20 3c 20 66 63 |f = 2; f|ref < fc|
|00001370| 62 73 6c 65 6e 3b 20 66 | 72 65 66 20 2b 3d 20 66 |bslen; f|ref += f|
|00001380| 63 62 6c 65 6e 29 0d 09 | 09 09 09 20 20 7b 0d 09 |cblen)..|... {..|
|00001390| 09 09 09 09 46 43 42 2a | 20 66 63 62 70 20 3d 20 |....FCB*| fcbp = |
|000013a0| 28 46 43 42 2a 29 28 66 | 63 62 73 62 61 73 65 20 |(FCB*)(f|cbsbase |
|000013b0| 2b 20 66 72 65 66 29 3b | 0d 09 09 09 09 09 69 66 |+ fref);|......if|
|000013c0| 20 28 66 63 62 70 2d 3e | 66 63 62 46 6c 4e 75 6d | (fcbp->|fcbFlNum|
|000013d0| 20 26 26 0d 09 09 09 09 | 09 09 28 21 68 61 76 65 | &&.....|..(!have|
|000013e0| 46 69 6c 65 4e 61 6d 65 | 20 7c 7c 20 50 72 65 66 |FileName| || Pref|
|000013f0| 69 78 50 53 74 72 28 66 | 69 6c 65 6e 61 6d 65 2c |ixPStr(f|ilename,|
|00001400| 66 63 62 70 2d 3e 66 63 | 62 43 4e 61 6d 65 29 29 |fcbp->fc|bCName))|
|00001410| 29 0d 09 09 09 09 09 20 | 20 7b 0d 09 09 09 09 09 |)...... | {......|
|00001420| 09 66 63 62 73 75 73 65 | 64 2b 2b 3b 0d 09 09 09 |.fcbsuse|d++;....|
|00001430| 09 09 09 69 66 28 21 66 | 6f 75 6e 64 4f 6e 65 29 |...if(!f|oundOne)|
|00001440| 0d 09 09 09 09 09 09 20 | 20 7b 0d 09 09 09 09 09 |....... | {......|
|00001450| 09 09 44 72 61 77 48 64 | 72 28 29 3b 0d 09 09 09 |..DrawHd|r();....|
|00001460| 09 09 09 09 66 6f 75 6e | 64 4f 6e 65 20 3d 20 74 |....foun|dOne = t|
|00001470| 72 75 65 3b 0d 09 09 09 | 09 09 09 20 20 7d 0d 09 |rue;....|... }..|
|00001480| 09 09 09 09 09 44 72 61 | 77 46 43 42 28 66 72 65 |.....Dra|wFCB(fre|
|00001490| 66 2c 66 63 62 70 29 3b | 0d 09 09 09 09 09 20 20 |f,fcbp);|...... |
|000014a0| 7d 0d 09 09 09 09 09 69 | 66 20 28 70 61 72 61 6d |}......i|f (param|
|000014b0| 50 74 72 2d 3e 61 62 6f | 72 74 65 64 29 0d 09 09 |Ptr->abo|rted)...|
|000014c0| 09 09 09 09 62 72 65 61 | 6b 3b 0d 09 09 09 09 20 |....brea|k;..... |
|000014d0| 20 7d 0d 09 09 09 09 69 | 66 28 21 70 61 72 61 6d | }.....i|f(!param|
|000014e0| 50 74 72 2d 3e 61 62 6f | 72 74 65 64 29 0d 09 09 |Ptr->abo|rted)...|
|000014f0| 09 09 09 69 66 20 28 68 | 61 76 65 46 69 6c 65 4e |...if (h|aveFileN|
|00001500| 61 6d 65 29 0d 09 09 09 | 09 09 20 20 7b 0d 09 09 |ame)....|.. {...|
|00001510| 09 09 09 09 69 66 20 28 | 21 66 6f 75 6e 64 4f 6e |....if (|!foundOn|
|00001520| 65 29 0d 09 09 09 09 09 | 09 20 20 7b 0d 09 09 09 |e)......|. {....|
|00001530| 09 09 09 09 50 75 74 50 | 53 74 72 28 22 5c 70 4e |....PutP|Str("\pN|
|00001540| 6f 20 6f 70 65 6e 20 66 | 69 6c 65 73 20 6d 61 74 |o open f|iles mat|
|00001550| 63 68 20 5c 22 22 29 3b | 0d 09 09 09 09 09 09 09 |ch \"");|........|
|00001560| 50 75 74 50 53 74 72 28 | 66 69 6c 65 6e 61 6d 65 |PutPStr(|filename|
|00001570| 29 3b 0d 09 09 09 09 09 | 09 09 50 75 74 43 68 61 |);......|..PutCha|
|00001580| 72 28 27 22 27 29 3b 0d | 09 09 09 09 09 09 09 50 |r('"');.|.......P|
|00001590| 75 74 4c 69 6e 65 28 29 | 3b 0d 09 09 09 09 09 09 |utLine()|;.......|
|000015a0| 20 20 7d 0d 09 09 09 09 | 09 20 20 7d 0d 09 09 09 | }.....|. }....|
|000015b0| 09 09 65 6c 73 65 0d 09 | 09 09 09 09 20 20 7b 0d |..else..|.... {.|
|000015c0| 09 09 09 09 09 09 50 75 | 74 55 44 65 63 28 6e 75 |......Pu|tUDec(nu|
|000015d0| 6d 66 63 62 73 29 3b 0d | 09 09 09 09 09 09 50 75 |mfcbs);.|......Pu|
|000015e0| 74 50 53 74 72 28 22 5c | 70 20 46 43 42 73 2c 20 |tPStr("\|p FCBs, |
|000015f0| 22 29 3b 0d 09 09 09 09 | 09 09 50 75 74 55 44 65 |");.....|..PutUDe|
|00001600| 63 28 66 63 62 73 75 73 | 65 64 29 3b 0d 09 09 09 |c(fcbsus|ed);....|
|00001610| 09 09 09 50 75 74 50 53 | 74 72 28 22 5c 70 20 69 |...PutPS|tr("\p i|
|00001620| 6e 20 75 73 65 2c 20 22 | 29 3b 0d 09 09 09 09 09 |n use, "|);......|
|00001630| 09 50 75 74 55 44 65 63 | 28 6e 75 6d 66 63 62 73 |.PutUDec|(numfcbs|
|00001640| 20 2d 20 66 63 62 73 75 | 73 65 64 29 3b 0d 09 09 | - fcbsu|sed);...|
|00001650| 09 09 09 09 50 75 74 50 | 53 74 72 28 22 5c 70 20 |....PutP|Str("\p |
|00001660| 66 72 65 65 22 29 3b 0d | 09 09 09 09 09 09 50 75 |free");.|......Pu|
|00001670| 74 4c 69 6e 65 28 29 3b | 0d 09 09 09 09 09 20 20 |tLine();|...... |
|00001680| 7d 0d 09 09 09 20 20 7d | 09 0d 0d 09 09 09 64 63 |}.... }|......dc|
|00001690| 6d 64 53 77 61 70 57 6f | 72 6c 64 73 28 29 3b 0d |mdSwapWo|rlds();.|
|000016a0| 09 09 09 62 72 65 61 6b | 3b 0d 09 09 20 20 7d 0d |...break|;... }.|
|000016b0| 0d 09 09 64 65 66 61 75 | 6c 74 3a 0d 09 09 09 50 |...defau|lt:....P|
|000016c0| 75 74 50 53 74 72 28 22 | 5c 70 75 6e 6b 6e 6f 77 |utPStr("|\punknow|
|000016d0| 6e 20 72 65 71 75 65 73 | 74 20 22 29 3b 0d 09 09 |n reques|t ");...|
|000016e0| 09 50 75 74 55 44 65 63 | 28 70 61 72 61 6d 50 74 |.PutUDec|(paramPt|
|000016f0| 72 2d 3e 72 65 71 75 65 | 73 74 29 3b 0d 09 09 09 |r->reque|st);....|
|00001700| 50 75 74 4c 69 6e 65 28 | 29 3b 0d 09 09 09 62 72 |PutLine(|);....br|
|00001710| 65 61 6b 3b 0d 09 20 20 | 7d 0d 7d 0d 00 00 00 00 |eak;.. |}.}.....|
|00001720| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001730| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001780| 00 00 01 00 00 00 01 1e | 00 00 00 1e 00 00 00 32 |........|.......2|
|00001790| 64 64 72 65 73 73 04 4c | 6f 6e 67 00 01 12 49 6e |ddress.L|ong...In|
|000017a0| 74 65 72 6e 61 6c 20 52 | 65 67 69 73 74 65 72 73 |ternal R|egisters|
|000017b0| 06 46 69 6c 65 2e 63 46 | 02 00 00 00 50 61 72 74 |.File.cF|....Part|
|000017c0| 53 49 54 21 00 00 00 00 | 00 00 00 00 00 00 46 97 |SIT!....|......F.|
|000017d0| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 a9 b7 20 97 00 00 | 00 00 00 00 01 50 57 6f |.... ...|.....PWo|
|00001800| 72 64 00 01 12 49 6e 74 | 65 72 6e 61 6c 20 52 65 |rd...Int|ernal Re|
|00001810| 67 69 73 74 65 72 73 04 | 57 6f 72 64 00 12 00 00 |gisters.|Word....|
|00001820| 00 2b 00 01 08 41 70 70 | 6c 4e 61 6d 65 00 01 13 |.+...App|lName...|
|00001830| 43 75 72 72 65 6e 74 20 | 41 70 70 6c 69 63 61 74 |Current |Applicat|
|00001840| 69 6f 6e 07 50 53 74 72 | 69 6e 67 00 01 00 00 04 |ion.PStr|ing.....|
|00001850| 36 00 01 09 55 6e 69 74 | 54 61 62 6c 65 00 26 14 |6...Unit|Table.&.|
|00001860| 52 65 73 65 72 76 65 64 | 20 20 20 20 20 20 20 20 |Reserved| |
|00001870| 20 20 20 20 04 4c 4f 4e | 47 00 01 14 48 44 32 30 | .LON|G...HD20|
|00001880| 00 00 00 1a 06 50 20 06 | 00 00 05 36 2e 35 64 36 |.....P .|...6.5d6|
|00001890| 0d 4d 61 63 73 62 75 67 | 20 36 2e 35 64 36 00 00 |.Macsbug| 6.5d6..|
|000018a0| 01 00 00 00 01 1e 00 00 | 00 1e 00 00 00 32 00 8e |........|.....2..|
|000018b0| 43 8c 1c 48 00 00 00 1c | 00 32 00 00 76 65 72 73 |C..H....|.2..vers|
|000018c0| 00 00 00 0a 00 02 ff ff | 00 00 00 00 00 8e 40 2c |........|......@,|
|000018d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000018f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+